home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Libraries / EleOfC++ vrs 0.1 / TextEdit / TTEApp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-07-13  |  742 b   |  27 lines  |  [TEXT/KAHL]

  1. /*
  2. ** This is the TEApp class declaration.  This class is an adaptation of 
  3. ** the class of the same name in the book, Elements of C++ Macintosh 
  4. ** Programming, by Dan Weston.
  5. **
  6. ** Copyright © 1991 Mark Gross (gross@kaman.com and
  7. ** RR2, Box 84, Clayville, NY 13322);         
  8. ** this file may be published everywhere, but no charge
  9. ** may be made for its use.  Please contact me about any bugs found.
  10. ** I'm also looking for Macintosh development work, so drop me a line
  11. ** if you think I could help.  
  12. */
  13. #define _H_TEApp
  14.  
  15. #include "TApp.h"
  16.  
  17. struct    TTEApp:TApp
  18. {
  19.  
  20.     TDoc*    MakeDoc(SFReply *reply);
  21.     void    GetFileTypeList(void);
  22.     int        GetNumFileTypes(void);
  23.     Boolean    CanOpen(void);
  24.     OSType    CanAcceptClipType(void);
  25.     
  26. };/*end of class decloration*/
  27.